<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="shortcut icon" href="{cscms:path}favicon.ico" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/user.css"/>
    <script type="text/javascript" src="{cscms:tempurl}js/user.js"></script>
</head>
<body>
    {cscms:head}
    {cscms:right}
    <div class="layui-tab layui-tab-card layui-tab-min" lay-filter="dt1" style="margin-top: 0px;margin-bottom: 0px">
        <ul class="layui-tab-title" style="height: 41px">
            <li><a href="[user:url userlink=msg]">全部消息</a></li>
            <li><a href="[user:url userlink=msg,index,xt]">系统消息</a></li>
            <li><a href="[user:url userlink=msg,index,wd]">未读消息</a></li>
            <a style="float: right;margin-right: 10px;margin-top: 9px" href="[user:url userlink=msg,add]" class="layui-btn layui-btn-mini layui-btn-danger">发送</a>
        </ul>
        <div class="layui-tab-content" style="padding:20px 15px;background-color: #fff">
            <div class="layui-tab-item layui-show">
                <form class="layui-form layui-form-pane" method="post" action="[user:msgsave]">
                    <div class="layui-form-item">
                        <label class="layui-form-label">接收会员</label>
                        <div class="layui-input-block">
                            <input type="text" name="user" required lay-verify="required" placeholder="请输入接收消息的会员" autocomplete="off" class="layui-input" value="[msg:user]">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">消息标题</label>
                        <div class="layui-input-block">
                            <input type="text" name="name" required lay-verify="required" placeholder="请输入消息的标题" autocomplete="off" class="layui-input" value="[msg:name]">
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">消息内容</label>
                        <div class="layui-input-block">
                            <textarea style="height: 150px" name="neir" placeholder="请输入内容" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <input type="hidden" name="token" value="[user:token]"/>
                    <div class="layui-form-item">
                        <div class="layui-input-block" style="text-align: center;margin-left: 0px">
                            <button class="layui-btn" lay-submit lay-filter="">发送</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
{cscms:bottom}
<script type="text/javascript">
    $(document).ready(function() {
        $('#left_msg').addClass('on');
    });
</script>
</body>
</html>